-- GENERATED SPELL FOR [Scourged Flamespitter] --


function spell0_25582(pUnit, Event) --@Incinerate,n/a--
pUnit:FullCastSpellOnTarget(32707,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25582', 2500, 1)
end

function Sorts_25582(pUnit, Event)
local choix_sorts_25582 = math.random(0, 0)
if choix_sorts_25582 == 0 then
pUnit:RegisterEvent('spell0_25582', 1, 1)
end
end

function mob25582_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25582', math.random(1500, 3000), 1)
end

function mob25582_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25582_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25582_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25582, 1, 'mob25582_Action')
RegisterUnitEvent(25582, 2, 'mob25582_Leave')
RegisterUnitEvent(25582, 3, 'mob25582_Kill')
RegisterUnitEvent(25582, 4, 'mob25582_Die')
